package org.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.model.CommentFieldPattern;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

public interface ICommentFieldPatternService extends IService<CommentFieldPattern> {
    void batchDeletePatterns(List<Long> ids);

    void batchUpdateStatus(@NotEmpty(message = "ID列表不能为空") List<Long> ids, @NotNull(message = "状态不能为空") Boolean enabled);
}
